﻿

#region Using Statements

// System references.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

// XNA references.
using Microsoft.Xna.Framework;

// Freeform references.
using Freeform.Framework;
using Freeform.Framework.Graphics;

#endregion


namespace CardGame.Card
{
    /// <summary>
    /// 
    /// </summary>
    public class Board : World
    {

        #region Members

        public List<Player> Players { get; private set; }


        public Viewport2D Viewport { get; private set; }

        #endregion


        #region Init

        public Board(List<Player> Players)
        {
            this.Players = Players;
            this.BackgroundColour = Color.CornflowerBlue;
            this.Viewport = new Viewport2D(this);
            this.Viewport.Camera.SpatialProperties.Size = new Vector2(1600, 900);

            Card IceDragon = new Card(this, "Ice Dragon", "Mega Huge Eat-your-face-off Monster", Style.Forest, Edition.Special);
            IceDragon.SpatialProperties.Position = new Vector2(300, 450);

            Card GoblinScav = new Card(this, "Goblin Scavenger", "Lesser Minion", Style.Mountain, Edition.Standard);
            GoblinScav.SpatialProperties.Position = new Vector2(1300, 450);

            Card FireBlast = new Card(this, "Fire Blast", "Elemental", Style.Plains, Edition.Standard);
            FireBlast.SpatialProperties.Position = new Vector2(800, 450);
        }

        #endregion
    }
}
